#include "Giraffe.h"


Giraffe::Giraffe(GLUquadricObj *p,int offset)
{
	this->p = p;
		l1 = new Leg(3+offset,5,-2+offset,p, -1);
	l2 = new Leg(-3+offset,5,-1+offset,p, -1);
	l3 = new Leg(-3+offset,5,1+offset,p, -1);
	l4 = new Leg(3+offset,5,2+offset,p, -1);
	MainBody = new Body(-4+offset, 6, 0+offset, p, -1);
	MainNeck = new Neck(-4+offset, 17, 0+offset, p, -1);
	mainFace = new Face(-4+offset, 18, 0+offset, p, -1);
	mainButt = new Butt(4+offset,6,0+offset,p, -1);
}

void Giraffe::Draw()
{
		mainFace->DrawHip();
	MainNeck->DrawHip();
	MainBody->DrawHip();
	mainButt->DrawHip();
	l4->DrawHip();
	l3->DrawHip();
	l1->DrawHip();
	l2->DrawHip();

}
Giraffe::~Giraffe(void)
{
}
